import Vue from 'vue'
import Router from 'vue-router'
import Goods from '../components/goods/Goods.vue'
import Ratings from '../components/ratings/Ratings.vue'
import Seller from '../components/seller/Seller.vue'
Vue.use(Router)

export default new Router({
  routes: [
    { path: '/', redirect: 'goods' },
   {
     path:'/goods',
     component:Goods
   },
    {
      path: '/ratings',
      component: Ratings
    },
    {
      path: '/sellers',
      component: Seller
    }
  ],
  linkActiveClass:'active'
})
